def FunctionFor(a):
    for i in range(1, a + 1):
        for j in range(1, i + 1):
            print(f"{j}*{i}={i * j}\t", end="")
        print()

if __name__ == "__main__":
    num = int(input("请输入乘数："))
    FunctionFor(num)